<template lang="html">
  <div class="order-content" >
    <div class="order-box" v-for="(item,index) in orderList" :key="index">
      <OrderItem :orderdata="item"/>
    </div>
  </div>
</template>

<script>
import OrderItem from './OrderItem'
export default {
  name:'OrderContent',
  components:{
    OrderItem
  },
  props:{
    orderList:{
      type:Array,
      default:function(){
        return []
      }
    }
  }
}
</script>

<style lang="less" scoped>
</style>
